.graph-analysis {
  background-color: #fafafc;
  width: 50%;
}

/* 头部信息 */
.header {
  align-items: center;
  background-color: #fff;
  border-bottom: 1px solid #e9e9e9;
  display: flex;
  height: 38px;
  justify-content: space-between;
  letter-spacing: 1px;
  padding: 9px 20px;
  width: 100%;

  .title {
    color: #5d637e;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 20px;
  }

  // 功能按钮
  .tool-list {
    display: flex;

    .graph-analysis-btn {
      align-items: center;
      border-radius: 2px;
      color: #5d637e;
      cursor: pointer;
      display: flex;
      font-size: 16px;
      margin: 0 4px;
      padding: 6px;
      position: relative;

      &:hover {
        background-color: rgba(105, 115, 255, 0.1);
      }
    }

    // 选中的使用功能
    .select-current-function {
      //background-color: rgba(103, 113, 252, 0.1);
      color: #6973ff;
    }
  }

  .divider {
    border-right: 1px solid #5d637e;
    height: 16px;
    margin: 6px 4px;
    width: 1px;
  }
}

.analysis-graph-content {
  background-color: #fafafc;
  height: calc(100% - 38px);
  overflow: hidden;
  position: relative;

  // 搜索 路径搜索 社团检测
  .function-section {
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 0 4px rgba(103, 113, 252, 0.1);
    left: 14px;
    position: absolute;
    z-index: 100;
  }

  // 搜索
  .search-function {
    top: 10px;
  }

  // 路径搜索 社团检测
  .analysis-function {
    top: 50px;

    // 第一个icon
    .first-function-icon {
      border-bottom: 1px solid #d3daff;
      border-radius: 4px 4px 0 0;
    }

    .last-function-icon {
      border-radius: 0 0 4px 4px;
    }
  }

  // 节点右键 menu
  .analysis-node-menu {
    background-color: #fff;
    border-radius: 2px;
    //box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.18);
    box-shadow: rgba(0, 0, 0, 0.18) 0 0 10px;
    color: #5d637e;
    font-size: 14px;
    list-style: none;
    padding: 6px 0;
    position: absolute;
    width: 114px;
    z-index: 100;

    .node-menu-item {
      cursor: pointer;
      height: 24px;
      line-height: 24px;
      padding: 0 12px;

      &:hover {
        background-color: #eff0fe;
      }
    }
  }

  // 节点 tooltip
  .tooltip-section {
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 0 4px 0 rgba(88, 98, 230, 0.2);
    max-width: 250px;
    min-width: 120px;
    padding: 6px 8px;
    position: absolute;
    z-index: 100;

    .if-tooltip {
      width: 100%;

      .tooltip-title {
        border-bottom: 1px solid #d9d9d9;
        color: #5d637e;
        font-size: 12px;
        font-weight: 400;
        height: 23px;
        letter-spacing: 1px;
        line-height: 17px;
        margin-bottom: 6px;
        padding-bottom: 6px;
        width: 100%;
      }

      .attr-item {
        color: #5d637e;
        font-size: 12px;
        font-weight: 400;
        height: 20px;
        line-height: 20px;
        width: 100%;

        .attr-key-value {
          display: inline-block;
          height: 17px;
          line-height: 17px;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
          width: 100%;
        }
      }
    }
  }

  .node-count-slider {
    align-items: center;
    bottom: 15px;
    display: flex;
    left: 15px;
    position: absolute;
    width: 250px;
    z-index: 100;

    .slider-section {
      width: 160px;
    }

    .count-text {
      padding-left: 4px;
    }
  }

  // query-loading
  .query-loading {
    align-items: center;
    background-color: rgba(87, 96, 230, 0.1);
    display: flex;
    height: 100%;
    justify-content: center;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 101;

    .spin-content {
      padding: 30px;
    }
  }


}
// 两点之间路径查询
.points-search-path {
  color: #5d637e;
  font-size: 12px;

  // item 标题
  .item-title {
    padding: 3px 0 5px;
  }

  // 选择的节点
  .selected-node {
    background-color: #eff0f7;
    padding: 3px;

    .empty-node {
      text-align: center;
    }
  }

  // 配置项单选
  .radio-buttons {
    color: #5d637e;
    display: block;
    font-size: 12px;
    height: 22px;
    line-height: 22px;
  }

  .search-path-btn {
    display: flex;
    justify-content: flex-end;
    padding-top: 8px;

    .set-btn {
      margin-left: 8px;
    }
  }
}
